<?php

class MemberArray 
{
        private $members = array();
        
        public function __construct()
		{
                
        }
        
        public function Add(Member $member)
		{
                $this->members[] = $member; 
        }
        
        public function Get() 
        {
                return $this->members;
        }
}

class Member
{
        private $member_id; //Int
        private $first_name; //String
        private $last_name; //String
        private $social_nr; //Date
        private $nr_boats; //String
        
        public function __construct($member_id, $first_name, $last_name, $social_nr, $nr_boats)
		{
                $this->member_id = $member_id;
                $this->first_name = $first_name;
                $this->last_name = $last_name;
				$this->social_nr = $social_nr;
				$this->nr_boats = $nr_boats;
        }
        
        public function GetID() 
        {
       		return $this->member_id;
        }
        
        public function GetFirstName()
		{
        	return $this->first_name;
        }
        
        public function GetLastName() 
        {
        	return $this->last_name;                         
        }
		
		public function GetSocialNr()
		{
			return $this->social_nr;
		}
		
		public function GetNumberOfBoats()
		{
			return $this->nr_boats;
		}	
			}